package com.gec.it.service.impl;

import com.gec.it.entity.Doctors;
import com.gec.it.dao.DoctorsDao;
import com.gec.it.service.DoctorsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wf
 * @since 2022-01-05
 */
@Service
public class DoctorsServiceImpl extends ServiceImpl2<DoctorsDao, Doctors> implements DoctorsService {
    @Autowired
    private DoctorsDao dao;

    @Override
    public List<String> findRoles(int docId) {
        return dao.selectRoles(docId);
    }

    @Override
    public List<String> findPmses(int docId) {
        return dao.selectPmses(docId);
    }
}
